import request from '@/utils/request'

// 查询APP注册设置列表
export function listRegisterSettings(query) {
  return request({
    url: '/video/RegisterSettings/list',
    method: 'get',
    params: query
  })
}

// 查询APP注册设置详细
export function getRegisterSettings(id) {
  return request({
    url: '/video/RegisterSettings/' + id,
    method: 'get'
  })
}

// 新增APP注册设置
export function addRegisterSettings(data) {
  return request({
    url: '/video/RegisterSettings',
    method: 'post',
    data: data
  })
}

// 修改APP注册设置
export function updateRegisterSettings(data) {
  return request({
    url: '/video/RegisterSettings',
    method: 'put',
    data: data
  })
}

// 删除APP注册设置
export function delRegisterSettings(id) {
  return request({
    url: '/video/RegisterSettings/' + id,
    method: 'delete'
  })
}
